package com.hotel.customersystem.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hotel.couponsystem.pojo.CouponStock;
import com.hotel.hotelsystem.pojo.TenantList;
import lombok.Data;

import javax.persistence.Transient;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class CustomerOrderDetailVo {
    //订单id
    private Integer orderId;
    //酒店id
    private Integer hotelId;
    //订单编号
    private String orderNo;
    //入住日期
    private LocalDateTime cheakInDate;
    //退房日期
    private LocalDateTime cheakOutDate;
    private String orderTime;
    //支付价格
    private String orderPrice;
    //订单状态
    private Integer orderStatus;
    //订单数据有效状态
    private Integer orderDataStatus;
    //用户id
    private Integer userId;
    //行锁
    private Integer version;
    //状态
    private Integer state;
    //创建时间
//    @JsonFormat(pattern= "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    //酒店名
    private String hotelName;
    //酒店电话
    private Long hotelTelno;
    //酒店地址
    private String hotelLoc;
    //房型
    private String roomType;
    //入住人信息
    private List<TenantList> tenantList;

    private LocalDate checkInTime;

    private LocalDate checkOutTime;

    private String hotelImg;

    private String standby01;

    private String standby02;

    private List<CouponStock> couponList;

    private Integer oldPrice;
}
